
const path = require('path')
// ORM库
exports.sequelize = {
  enable: true,
  package: 'egg-sequelize'
}
// sequelize方法封装
exports.wiseflySequelize = {
  enable: true,
  package: 'egg-wisefly-sequelize',
  path: path.join(__dirname, '../lib/plugin/egg-wisefly-sequelize')
}

// swaggerUI
exports.swaggerdoc = {
  enable: true,
  package: 'egg-swagger-doc',
  path: path.join(__dirname, '../lib/plugin/egg-swagger-doc')
}

// 路由版本控制
exports.routerPlus = {
  enable: true,
  package: 'egg-router-plus'
}

// 跨域
exports.cors = {
  enable: true,
  package: 'egg-cors'
}

// 数据校验
exports.validatePlus = {
  enable: true,
  package: 'egg-validate-plus'
}

// token鉴权
exports.jwt = {
  enable: true,
  package: 'egg-jwt'
}

// redis缓存
// exports.redis = {
//   enable: true,
//   package: 'egg-redis'
// }
